package org.example.dao;

import org.example.entity.Equipment;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author CoderXshuai
 * @date 2020/9/3/0003 14:34
 */
@Repository
public interface EquipmentDao extends BaseDao<Equipment> {
    /**
     * 根据lid查询当前位置的设备
     *
     * @param locationID lid
     * @return 所有设备
     */
    List<Equipment> findByLocation_Lid(Integer locationID);
}
